home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 015a / zapdir41.zip / ZAPDIR.DOC next >
Text File  |  1991-09-06  |  4KB  |  74 lines

  1. ZAPDIR.EXE 4.1 - (C) Copyright 1988-91 by Randy E. Turner, ALL RIGHTS RESERVED.
  2.  
  3.  ZAPDIR -- The DOS Directory Tree Trimmer.
  4.  
  5.  Removes a Directory, all Subdirectories and files below it.  By default
  6.  files marked as read-only are not deleted nor their directories removed.
  7.  If you wish to override this default include a "/R+" as the second parameter.
  8.  A limited number of safeguards have been included within this utility:
  9.  
  10.         1 - A path specification of less than 3 characters will
  11.             not be processed.
  12.         2 - A path specification of 3 characters will result in a
  13.             prompt for confirmation before processing will continue.
  14.  
  15.  A word of warning C:\ is a valid specification and would be processed
  16.  after confirmation. This program is written in "C" and as a result is
  17.  extremely fast so while the program may be aborted by Ctrl-C a large
  18.  number of files and directories may have already been removed.  This
  19.  program while extremely useful must be used with great caution.   The
  20.  command syntax is ZAPDIR d:\pathspec /switch, Where pathspec is a valid
  21.  DOS path specification as in C:\Test1\Test2.  To facilitate the use of ZAPDIR
  22.  within DOS .BAT files the DOS ERRORLEVEL is set on exiting as indicated in
  23.  the following table:
  24.  
  25.         DOS ERRORLEVEL \ Condition
  26.  
  27.         0 ... Normal Termination
  28.         1 ... Invalid Path Length - Requested path < minimum
  29.         2 ... Path Length Warning - Operator Abort!
  30.         3 ... No Parameters Specified
  31.         4 ... Specified Directory does not exist!
  32.         5 ... Target Path Length Exceeds DOS Limit!
  33.  
  34. ZAPDIR.EXE 4.1 - (C) Copyright 1988-91 by Randy E. Turner, ALL RIGHTS RESERVED.
  35.  
  36.  The author Randy E. Turner, claims no responsibility for any damages caused
  37.  by the use or misuse of this product.  This product is distributed "as is"
  38.  with no warranty expressed or implied.  The author will not be responsible
  39.  for any losses incured either directly or indirectly by the use of this
  40.  product.  Use this product entirely at your own risk.  The author reserves
  41.  the right to make modifications at any time.
  42.  
  43.  This program is distributed as shareware. It is the responsibility of the
  44.  end user to determine its suitability for its intended use.  This program
  45.  is SHAREWARE NOT PUBLIC DOMAIN.  If you find this program to be useful
  46.  please send a registration fee of $15 per copy to:
  47.  
  48.           Randy E. Turner
  49.           612 S. 25th
  50.           Mount Vernon, IL 62864
  51.  
  52. Any suggested enhancements, problem reports or requests for site licenses
  53. may be sent to the same address.
  54.  
  55. ╔══════════════════════════════════════════════════════════════════════╗
  56. ║                                                                      ║
  57. ║ FYI - For those of you with an interest in the nature of this        ║
  58. ║       program.  ZAPDIR.EXE is written in approximately 425 lines of  ║
  59. ║       Borland C++ 1.0.  The use of C as an applications development  ║
  60. ║       language is growing for many reasons.  Among them are the      ║
  61. ║       following:                                                     ║
  62. ║                                                                      ║
  63. ║         1.  Increased portability (the source for ZAPDIR.EXE         ║
  64. ║             has been compiled under Turbo C, Quick C & Power C       ║
  65. ║             for the MS-DOS environment).                             ║
  66. ║                                                                      ║
  67. ║         2.  Increased performance in most environments C based       ║
  68. ║             applications are among the fastest performers.           ║
  69. ║                                                                      ║
  70. ║         3.  In the Novell environment for which this program was     ║
  71. ║             developed C based applications run as "native code".     ║
  72. ║                                                                      ║
  73. ╚══════════════════════════════════════════════════════════════════════╝
  74.